package his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("register")
public class Register {

    @TableId(value="ID",type = IdType.AUTO)
    private int ID;

    @TableField(value = "CaseNumber")
    private String CaseNumber;

    @TableField(value = "RealName")
    private String RealName;

    @TableField(value = "Gender")
    private int Gender;

    @TableField(value = "VisitDate")
    private Date VisitDate;

    @TableField(value = "Noon")
    private String Noon;

    @TableField(value = "DeptID")
    private int DeptID;

    @TableField(value = "UserID")
    private int UserID;

    @TableField(value = "RegistLeID")
    private int RegistLeID;

    @TableField(value = "IsBook")
    private char IsBook;

    @TableField(value = "RegistTime")
    private Date RegistTime;

    @TableField(value = "RegisterID")
    private int RegisterID;

    @TableField(value = "VisitState")
    private int VisitState;

    @TableField(value = "PatientId")
    private int PatientId;


}
